//
//  SGTopicView.swift
//  songguo
//
//  Created by 潘传洲 on 16/6/16.
//  Copyright © 2016年 pcz. All rights reserved.
//

import UIKit

class SGTopicView: UITableView {

    override init(frame: CGRect, style: UITableViewStyle) {
        super.init(frame: frame, style: style)
        self.backgroundColor = UIColor.clearColor()
        self.separatorStyle = .None
        
        let headView = UIView(frame: CGRect(x: 0, y: 0, width: screenWidth, height: 35))
        let headLabel = UILabel(frame: headView.bounds)
        headLabel.x = 10
        headLabel.text = "专题"
        headLabel.textColor = UIColor.color(99, g: 99, b: 99)
        headLabel.font = UIFont.systemFontOfSize(12)
        headView.addSubview(headLabel)
        self.tableHeaderView = headLabel
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
